Repository navigation
Conversation
9 failing -> 0 failing
0 mutants alive
…re really proven (#316) Review findings: the protocol-9 test could not fail on its second claim, and nothing pinned idGenerator into the daemon's bus.
…hema refuses (#316) 1 failing -> 0 failing. One id shape (EVENT_ID_PATTERN) in the contract, used by the schema and the reader.
kills the survivor at event-file.ts:63
V3RON
marked this pull request as ready for review
October 4, 2026 10:55
V3RON
added a commit
that referenced
this pull request
Oct 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #316
Every event now carries
id(evt_plus the daemon's id generator), on every transport and inevents.jsonl. The file reader,simlock events --followand the console tell events apart byidalone. The file reader skips lines without a validid. The protocol moves to 10. A relayed event still gets a gatewayid; #317 changes that.ADR 0014 is in #311. This PR cites it but does not add it, so merge #311 first or the citations dangle briefly.
Status
Implement: done (11/11 green) Review: round 2, 0 blocking open Mutate: 5 alive (explained) Hardware: n/a Gate: pending
Done when
simlock eventsprints anidon every line and the sameidafter a restart: e2esimlock events --since 1h after a daemon restart prints each event with the id it had before the restart.incompatibleand nothing it pushes is relayed:src/gateway/service.test.ts. Round 2 showed it fails if the gateway subscribes to such a worker.eventKeyandkeyOfreadidonly: read in the diff. Console tests prove that the sameseqandtimestampwith different ids show twice.EVENTS.mdfiles,HTTP-API.md,CLI.mdandCLIENT.mdnameid.pnpm checkpasses.Review
Spec review: 3 findings, 0 fixed. Code review: 9 findings, 3 fixed.
Mutate: 37 mutants, 5 alive. All 5 are on the
subscribeDespiteFailureswitch insrc/gateway/test-support.ts(lines 238 and 456). That test-helper guard does something only when the gateway wrongly subscribes to an incompatible worker, so no correct production code can show the difference.Rejected:
ui/src/views/events.test.tsx:147, and it now keys on oneid.EventBusdefaultCryptoIdGeneratorbreaks architecture rule 9. The spec requires that default.main.tsinjects the daemon's generator, andmain.test.tsproves it.Written by an agent.